package com.zsn.demo.test.threadPool;

/**
 * @program: threadDemo
 * @ClassName RejectPolicy
 * @description:
 * @author: zsn
 * @create: 2025-03-12 22:45
 * @Version 1.0
 **/
@FunctionalInterface //拒绝策略
public interface RejectPolicy<T> {
    void reject(BlockingQueue<T> queue,T task);
}